import React from 'react';
import './main.css';

/**
 * @author Yuzelin
 * @description button component 
 * @param type: string
 * @param onClick: function
 */
export default function Button (props) {

    return (
        <button 
            className={ props.type }
            onClick={ props.myClick }
        >
            { props.children }
        </button>
    );
}
